package cn.net.shuxing.yifu.common.mapper;

import cn.net.shuxing.yifu.common.bean.SysUser;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SysUserMapper extends Mapper<SysUser> {

    List<SysUser> selectSysUserListByType(@Param("type") Integer type,@Param("startPageNo") Integer startPageNo, @Param("pageSize") Integer pageSize
                                        ,@Param("nickName") String nickName, @Param("tel") String tel,@Param("idCardNum") String idCardNum
                                        ,@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("province") Integer province
                                        ,@Param("city") Integer city,@Param("district") Integer district);

    SysUser detail(@Param("id") Long id);


    SysUser selectById(@Param("id") Long id);

//    获取平台管理员的信息
    SysUser selectAdmin();

    SysUser selectByTel(@Param("tel") String tel);
}
